package com.squirrel.common.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @Description LoginVO 用户登录视图
 * @Author 关远键
 * @Version v1.0.0
 * @Date 2021/11/10 15:07
 */
@Data
@Builder
@Accessors(chain = true)
@ApiModel("登录结果")
public class LoginVO {

    @ApiModelProperty("用户ID")
    private Integer userId;

    @ApiModelProperty("头像")
    private String avatar;

    @ApiModelProperty("昵称")
    private String name;

    @ApiModelProperty("token")
    private String token;

}
